---
title: DB-CLL-009 — Generate the next appeal sequence value
summary: Generate the next appeal sequence value
status: draft
owner: SAIF Case Management team
last_reviewed: 2026-08-21
library: SAIF.Business.Claim.Legal
reference_type: embedded
---

# DB-CLL-009 — Generate the next appeal sequence value

## Classification

| Field | Value |
|---|---|
| SQL ID | DB-CLL-009 |
| Operation type | C |
| Execution method | Text |
| Database | Oracle (Case Management) |
| Schema | [unqualified]** |
| Command type | Inline text SQL |
| Business object | clsAppeal |
| Criteria property | CreateSQL |
| Lifecycle method | AfterCreate |

## Parameters

No bound parameters were identified for this statement.

## Tables

| Table | Access | Columns/Notes |
|---|---|---|
| [APPEAL](../database-tables.md#appeal) | SELECT | sequence-only |

## Sample SQL

```sql
Select
  APPEAL_SEQ_NUM_NEXTVAL
From
  DUAL
```

## Operations and processes

- [Manage appeals and appeal extensions](../operations/manage-appeal.md)

## Business rules

- [BR-CLM-LGL-005](../business-rules.md#br-clm-lgl-005-non-single-row-crud-result-is-treated-as-a-failure)

## Sources

- `SAIF.Business.Claim.Legal\LegalNet\clsAppeal.vb`